<?php
function skin_Posting() {
  require_once 'tpl/use/block/styleCore.php';
  require_once 'tpl/use/block/postForms.php';
  
  styleHead();

  if ( $_REQUEST['pnum'] > 0 && $_REQUEST['tnum'] > 0 ) {
    editPostForm( getPost((int)intval($_REQUEST['tnum']), (int)intval($_REQUEST['pnum'])) );
  } else {
    newPostForm( (int)intval($_REQUEST['fnum']), (int)intval($_REQUEST['tnum']) );   
  }

  styleFoot();

  return true;
}
?>
